quit -sim
#set env(ISE_SIM)                F:/crack/ise14.7_lib
#vmap secureip                   $env(ISE_SIM)/secureip
#vmap unisims_ver                $env(ISE_SIM)/unisims_ver
#vmap unimacro_ver               $env(ISE_SIM)/unimacro_ver
#vmap xilinxcorelib_ver          $env(ISE_SIM)/xilinxcorelib_ver
#
#set env(VIVADO_SIM)             F:/crack/vivado2017.4_lib
#vmap secureip                   $env(VIVADO_SIM)/secureip
#vmap simprims_ver               $env(VIVADO_SIM)/simprims_ver
#vmap unifast                    $env(VIVADO_SIM)/unifast
#vmap unifast_ver                $env(VIVADO_SIM)/unifast_ver
#vmap unimacro                   $env(VIVADO_SIM)/unimacro
#vmap unimacro_ver               $env(VIVADO_SIM)/unimacro_ver
#vmap unisim                     $env(VIVADO_SIM)/unisim
#vmap unisims_ver                $env(VIVADO_SIM)/unisims_ver

#工程所需要的文件
#vlog -incr $env(ISE_SIM)/glbl.v;
vlog -sv -incr ../bench/top_tb.sv

vlog -incr ../hdl/*.v

#vlog +incdir+$env(UVM_SRC) -L mtiAvm -L mtiOvm -L mtiUvm -L mtiUPF hello_world.sv

#vsim -t ps -novopt +notimingchecks \
                                    #-L secureip \
                                    #-L simprims_ver \
                                    #-L unifast -L unifast_ver \
                                    #-L unimacro -L unimacro_ver \
                                    #-L unisim -L unisims_ver \
                                    #glbl \
                                    #work.tb
vsim -t ps -novopt +notimingchecks \
                                    work.top_tb

#vsim -t ns -novopt -sv_lib $env(UVM_DPI) work.hello_world_example 

log -r /*
radix 16

#view -title {wang} wave
#具体模块需要添加的信号
do wave.do

run 50us
